package com.lipi.mall.order.feign;

import com.lipi.mall.order.vo.OrderItemVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("cart")
public interface CartFeignService {


    /**
     * 获取当前用户的所有checked状态购物项数据(update price form db)
     *
     * @return
     */
    @GetMapping("/getCurrentUserCartItems")
    List<OrderItemVO> getCurrentUserCartItems();
}
